﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Display.aspx.cs" Inherits="JDFoodMenu.Pages.Display" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>菜谱展示</title>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <link href="../ThreeStyle/Css/Css.css" rel="stylesheet" type="text/css" />
</head>
<body scroll="no" ms_positioning="GridLayout">
    <form id="form1" runat="server">
    <table width="100%" cellpadding="0" cellspacing="0" border="1" id="Table1">
        <tr>
            <td>
                <table width="100%" border="1" cellpadding="0" cellspacing="0" id="Table2">
                    <tr>
                        <td height="24" class="PageTitleTable">
                            <span class="PageTitle">一周菜谱</span>
                        </td>
                        <td align="right" class="PageTitleTable">
                            <asp:Button runat="server" ID="btnSave" CssClass="Button01" Text="保存" OnClientClick="return confirm('确认保存？')"
                                OnClick="btnSave_Click" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td align="right">
                <br />
            </td>
        </tr>
        <tr>
            <td align="center">
                <div style="overflow: auto; width: 820px; height: 700px" align="center">
                    <table id="Table1" width="100%">
                        <tr>
                            <td style="height: 15px" align="left">
                                <asp:DropDownList runat="server" ID="ddlRoom" AutoPostBack="true" OnSelectedIndexChanged="ddlRoom_SelectedIndexChanged">
                                    <asp:ListItem Selected="True" Text="马陆食堂" Value="2"></asp:ListItem>
                                    <asp:ListItem Text="戬浜食堂" Value="1"></asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 15px">
                                <font face="宋体"></font>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdtxt">
                                <table id="TABLE3" border="1" cellpadding="4" cellspacing="1" width="100%">
                                    <tr style="height: 40px">
                                        <td align="center" class="tdtxt">
                                            <a href="Display.aspx?CalendarDate=<% =CalendarDate.AddDays(-7).ToString("yyyy-MM-dd") %>">
                                                前一周</a>
                                        </td>
                                        <td align="center" bgcolor="#ffffff">
                                            <h3>
                                                <asp:Label runat="server" ID="lbName"></asp:Label>一周菜谱</h3>
                                        </td>
                                        <td align="center" class="tdtxt">
                                            <a href="Display.aspx?CalendarDate=<% =CalendarDate.AddDays(7).ToString("yyyy-MM-dd") %>">
                                                后一周</a>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <span id="lbTimeArea" style="width: 298px;">日期:<asp:Literal runat="server" ID="ltlDuration"></asp:Literal></span>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdtxt">
                                <table id="TABLE4" border="1" cellpadding="4" cellspacing="1" width="100%">
                                    <tr>
                                        <td style="color: white" align="center" bgcolor="#003366" width="10%">
                                            日期
                                        </td>
                                        <td style="color: white" align="center" bgcolor="#003366" width="10%">
                                            早餐
                                        </td>
                                        <td style="color: white" align="center" bgcolor="#003366" width="80%">
                                            午餐
                                        </td>
                                    </tr>
                                    <asp:Repeater runat="server" ID="rpList" OnItemDataBound="rpList_ItemDataBound">
                                        <ItemTemplate>
                                            <tr>
                                                <td style="width: 118px" align="center" bgcolor="#003366">
                                                    <p>
                                                        <strong><font color="window">
                                                            <%#Eval("day") %></font></strong>
                                                    </p>
                                                    <p>
                                                        <span id="LbMonday" style="color: White;">
                                                            <%#Eval("time") %></span></p>
                                                </td>
                                                <td class="tdtxt" valign="top" height="100%">
                                                    <table height="100%" border="1" cellpadding="0" cellspacing="0" style="width: 100%;
                                                        border-collapse: collapse;">
                                                        <tr class="GridHead" align="Center" style="background-color: #E0E0E0; display:none;">
                                                            <td>
                                                                &nbsp;
                                                            </td>
                                                        </tr>
                                                        <tr style="background-color: White;">
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbZC0" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr style="background-color: White;">
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbZC1" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr style="background-color: White;">
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbZC2" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr style="background-color: White;">
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbZC3" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr style="background-color: White;">
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbZC4" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr style="background-color: White; display: none;">
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbZC5" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr style="background-color: White; display: none;">
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbZC6" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                                <td class="tdtxt" height="100%">
                                                    <table width="100%" height="100%" border="1" cellpadding="0" cellspacing="0">
                                                        <tr style=" display:none;">
                                                            <td width="100px" align="center" style="background-color: #E0E0E0">
                                                                午餐名
                                                            </td>
                                                            <td width="100px">
                                                                <asp:TextBox runat="server" ID="tbLun1" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td width="100px">
                                                                <asp:TextBox runat="server" ID="tbLun2" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td width="100px">
                                                                <asp:TextBox runat="server" ID="tbLun3" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td width="100px">
                                                                <asp:TextBox runat="server" ID="tbLun4" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td width="100px">
                                                                <asp:TextBox runat="server" ID="tbLun5" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td width="100px">
                                                                <asp:TextBox runat="server" ID="tbLun6" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td width="100px">
                                                                主荤
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun11" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun12" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun13" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun14" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun15" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun16" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr style="display: none;">
                                                            <td width="100px">
                                                                主荤
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun21" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun22" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun23" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun24" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun25" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun26" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td width="100px">
                                                                半荤
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun31" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun32" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun33" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun34" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun35" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun36" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td width="100px">
                                                                素菜
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun41" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun42" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun43" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun44" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun45" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun46" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr >
                                                            <td width="100px">
                                                                面食
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun51" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun52" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun53" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun54" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun55" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun56" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td width="100px">
                                                                汤
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun61" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun62" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun63" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun64" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun65" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun66" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr >
                                                            <td width="100px">
                                                                
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun71" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun72" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun73" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun74" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun75" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox runat="server" ID="tbLun76" CssClass="input01"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                        </ItemTemplate>
                                    </asp:Repeater>
                                </table>
                            </td>
                        </tr>
                    </table>
                </div>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
